package com.it.park.common;

import java.io.Serializable;

public class JsonObj<T> implements Serializable{
	private static final long serialVersionUID = 1L;
	private boolean success = true;/**默认值*/
	private String message = "";
	private Integer code;
	private T object;
	
	public JsonObj(boolean success) {
		this.success = success;
	}
	
	public JsonObj() {
		super();
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public T getObject() {
		return object;
	}
	public void setObject(T object) {
		this.object = object;
	}
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
}
